package com.rookie.tool.module.util.ai.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * @author rookie
 */
@Data
public class Car {

    @JsonProperty("log_id")
    private long logId;

    @JsonProperty("location_result")
    private LocationResultBean locationResult;

    @JsonProperty("color_result")
    private String colorResult;

    private List<ResultBean> result;

    @Data
    public static class LocationResultBean {
        private double width;
        private double top;
        private double left;
        private double height;

    }

    @Data
    public static class ResultBean {
        private double score;
        private String name;
        private String year;

    }
}
